package com.pethospital.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 健康档案DTO
 */
@Data
public class MedicalRecordDTO {

    /**
     * 宠物ID
     */
    @NotNull(message = "宠物ID不能为空")
    private Long petId;

    /**
     * 预约ID
     */
    @NotNull(message = "预约ID不能为空")
    private Long appointmentId;

    /**
     * 诊断结果
     */
    @NotBlank(message = "诊断结果不能为空")
    private String diagnosis;

    /**
     * 治疗方案
     */
    private String treatment;

    /**
     * 备注
     */
    private String remark;

    /**
     * 就诊时间
     */
    private LocalDateTime visitTime;
} 